/**
 * 
 */
package service;

import java.io.Serializable;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import model.Film;
import model.Film.FilmInfo;
import dao.DAO;

public interface FilmService extends Serializable, Service<Film> {

	/**
	 * @param datentraegerID
	 * @return
	 * @throws SQLException
	 */
	List<Film> getFilme(String datentraegerID);

	/**
	 * @param id
	 * @return
	 * @throws SQLException
	 */
	Film getFilmById(String id);

	/**
	 * @param Film
	 * @return
	 * @throws SQLException
	 */
	Film saveToDatabase(Film Film);

	/**
	 * @return
	 */
	public DAO<Film> getDao();

	/**
	 * @param dao
	 */
	public void setFilmSqlDAO(DAO<Film> dao);

	/**
	 * @param Film
	 * @throws SQLException
	 */
	int deleteFilm(Film Film);

	/**
	 * @return
	 */
	ArrayList<FilmInfo> getFilmInfos(String datId);
}
